﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MySql.Data.MySqlClient;
using System.Configuration;


public partial class SiteMaster : System.Web.UI.MasterPage {

    public bool keepRunning = true;
    public bool isLoggedInGhetto = true;

    public string varPlaceholder = "default";
    public MySqlConnection con;


    protected void Page_Load(object sender, EventArgs e) {
        //this.varPlaceholder = string.Format("{0}", Request.Path.Substring(Request.Path.LastIndexOf('/') + 1));

        if (!IsPostBack) {
            using (con = new MySqlConnection(ConfigurationManager.ConnectionStrings["MySQL"].ConnectionString)) {
                //con.Open();
                //Response.Write("Master.varPlaceHolder = <br />" + this.varPlaceholder);
            }
        }
    }

}
